﻿using System.Text.Json.Serialization;

namespace MesApiSimulator.Objects
{
    /// <summary>
    /// 获取产品型号列表数据结果
    /// </summary>
    public class GetMiListResult
    {
        /// <summary>
        /// 接口ID
        /// </summary>
        public int CmdID { get; set; } = 600;
        /// <summary>
        /// 设备编号
        /// </summary>
        [JsonPropertyName("EID")]
        public string EID { get; set; } = "10710101XXXXX";
        /// <summary>
        /// 1：成功，其他：失败
        /// </summary>
        public int Status { get; set; } = 1;
        /// <summary>
        /// 错误消息内容
        /// </summary>
        public string Msg { get; set; } = "获取成功";
        /// <summary>
        /// 产品型号集合
        /// </summary>
        [JsonPropertyName("Data")]
        public string[]? Data { get; set; } = ["S05 - 11165260","S06 - 78117169","S24 - 78133202","S25 - 11133202"];
    }
}
